package com.wilcom.system.controller;

import cn.hutool.json.JSONObject;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test1")
public class TestController {
    @GetMapping("/hello")
    public Object hello() {
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("name", "wilcom1");
        return jsonObject;
    }
}
